[. . . ] novdocx (en) 13 May 2009 AUTHORIZED DOCUMENTATION Novell CIFS for Linux Administration Guide Novell® 2 SP2 November, 2009 Open Enterprise Server www. novell. com OES 2 SP2: Novell CIFS for Linux Administration Guide novdocx (en) 13 May 2009 Legal Notices Novell, Inc. , makes no representations or warranties with respect to the contents or use of this documentation, and specifically disclaims any express or implied warranties of merchantability or fitness for any particular purpose. Further, Novell, Inc. , reserves the right to revise this publication and to make changes to its content, at any time, without obligation to notify any person or entity of such revisions or changes. Further, Novell, Inc. , makes no representations or warranties with respect to any software, and specifically disclaims any express or implied warranties of merchantability or fitness for any particular purpose. Further, Novell, Inc. , reserves the right to make changes to any and all parts of Novell software, at any time, without any obligation to notify any person or entity of such changes. [. . . ] 1 On the default CIFS server page in iManager click the Share tab, then select one or more shares from the list, then click Remove. On successful deletion of the share the following message is displayed. 40 OES 2 SP2: Novell CIFS for Linux Administration Guide novdocx (en) 13 May 2009 2 Either click OK to return to the main page or click Repeat Task to delete more shares. CIFS Share Parameters Use this table information to create and edit CIFS shares. Table 5-3 Shares Page Parameters Parameter Description Name The name that the CIFS share uses for all the CIFS services and for display on Windows computers. For example, if you specify Company Photos as the share name associated with vol1\graphics, then Windows workstations browsing the network see Company Photos instead of vol1\graphics. A Share name can be up to 80 characters long and can contain any singlebyte characters, but should not begin or end with an underscore _ or contain multiple underscores _. This is the path to the server volume or directory that becomes the root of the sharepoint. Comment may contain single-byte and multi-byte characters. . 5. 1. 5 Configuring a CIFS User Context On the default CIFS server page in iManager click the Context tab to list, add, and delete the CIFS user contexts. To configure a context search from the command line, see Section 5. 2. 7, "Configuring the CIFS Context Search File, " on page 45. Administering the CIFS Server 41 novdocx (en) 13 May 2009 Figure 5-4 CIFS Context Page "Adding a New Context" on page 42 "Removing a Context" on page 42 Adding a New Context 1 Click Add to add a new user context to CIFS. Figure 5-5 Add New Context 2 Browse the Object Selector, select a context to add, then click OK to save. Removing a Context Select one or more contexts and click Remove. 42 OES 2 SP2: Novell CIFS for Linux Administration Guide novdocx (en) 13 May 2009 5. 1. 6 Stopping CIFS To stop a running CIFS server: 1 If the CIFS server status is Running on your screen, click Stop to stop the CIFS server. The Status changes to Stopped and all the CIFS properties are dimmed on the screen. 5. 2 Using the Command Line to Manage CIFS Command line utilities are available to control the CIFS services. For information about specific CIFS commands, see Appendix A, "NOVCIFS, " on page 73 or enter man novcifs at the command prompt. Section 5. 2. 1, "Starting CIFS, " on page 43 Section 5. 2. 2, "Stopping CIFS, " on page 43 Section 5. 2. 3, "Restarting CIFS, " on page 43 Section 5. 2. 4, "Modifying the CIFS Configuration, " on page 43 Section 5. 2. 5, "Anonymous Log In for CIFS, " on page 44 Section 5. 2. 6, "Working with CIFS Shares, " on page 45 Section 5. 2. 7, "Configuring the CIFS Context Search File, " on page 45 5. 2. 1 Starting CIFS Use the rcnovell-cifs start command to start CIFS. To resolve this problem see "CIFS is not running with Samba" on page 67. 5. 2. 2 Stopping CIFS Use the rcnovell-cifs stop command to stop CIFS. 5. 2. 3 Restarting CIFS Use the rcnovell-cifs restart command to restart CIFS. 5. 2. 4 Modifying the CIFS Configuration The configuration settings are taken directly from the CIFS iManager settings. The recommended method to modify CIFS configuration is using iManager. For details, see Section 5. 1. 3, "Setting the CIFS Server and Authentication Properties, " on page 33. Administering the CIFS Server 43 novdocx (en) 13 May 2009 Use the following steps to edit the CIFS configuration from command line: 1 Use any text editor to open the cifs. conf file from /etc/opt/novell/cifs/ directory. IMPORTANT: It is recommended to not change the default settings in this file, unless there is an absolute need to do so. 2 Use the following information to change the configuration: In the AUTHENT section, set the mode to either local or domain. For this mode, a Windows domain controller performs user authentication. For this mode, the server running CIFS services performs the user authentication. In the COMMENT section, specify an appropriate user comment to associate with the sharepoint. In the -PDC [PDC_NAME] [PDC_IP_ADDR] section, specify the PDC name and IP address. Set this if the PDC and the server running CIFS are on different subnets. In the -SUBNET [subnet] section, specify the subnet value, if required. 3 Restart the CIFS server by using the rcnovell-cifs restart command for the configuration changes to take effect. 5. 2. 5 Anonymous Log In for CIFS Anonymous log in for CIFS is used to map to the CIFS share. [. . . ] -c COMMENT | --comment=COMMENT Specifies a CIFS sharepoint comment to add. -v VIRTUALSERVERFDN | --vserver=VIRTUALSERVERFDN Specifies the virtual server FDN to add or remove. -I VIRTUALSERVERIP | --ip-addr=VIRTUALSERVERIP Specifies the virtual server IP address to add or remove. -o | --oper-params Displays the operational parameters, such as enabled or disabled, for different CIFS configurations. [. . . ]